package com.xin.ruanjian.omsystem.utils;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.xin.ruanjian.omsystem.R;
import com.youth.banner.loader.ImageLoader;
import com.youth.banner.loader.ImageLoaderInterface;

/**
 * Created by local123 on 2018/2/3.
 */

public class GlideImageLoader extends ImageLoader{
    @Override
    public void displayImage(Context context, Object path, ImageView imageView) {
        Glide.with(context).
                load(path)
                .crossFade()
                .error(R.mipmap.lunbo1)
                .into(imageView);
    }
}
